<template>
  <div>
    <hr>
    <p>--这是一个父组件--{{ num }}--{{ num2 }}</p>
    <!-- <Son :aa.sync="num" :cc.sync="num2" /> -->
    <Son :aa="num" :cc="num2" @update:aa="val=>num = val" @update:cc="val=>num = val" />
  </div>
</template>

<script>
import Son from './Son.vue'
export default {
  name: 'VueHrFather',
  components: {
    Son
  },
  data() {
    return {
      uname: 'zs',
      num: 100,
      num2: 200
    }
  },

  mounted() {

  },

  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
